<?php


namespace app\api\controller\v1;

use app\api\model\User as UserModel;

class User
{
    /**
     * 获取全部用户信息
     */
    public function getDataAll()
    {
        return UserModel::order('id desc')->select()->toArray();
    }
}